//package com.zhl.media.commonres.utils;
//
//import android.app.Activity;
//import android.graphics.drawable.Drawable;
//import android.support.annotation.Nullable;
//
//import com.bumptech.glide.Glide;
//import com.bumptech.glide.load.engine.DiskCacheStrategy;
//import com.bumptech.glide.request.Request;
//import com.bumptech.glide.request.target.ImageViewTarget;
//import com.zhl.media.commonres.R;
//
//import cn.finalteam.galleryfinal.ImageLoader;
//import cn.finalteam.galleryfinal.widget.GFImageView;
//
//public class GlideImageLoader implements ImageLoader {
//    @Override
//    public void displayImage(Activity activity, String path, final GFImageView imageView, Drawable defaultDrawable, int width, int height) {
//        Glide.with(activity).load("file://" + path)
//                .into(new ImageViewTarget<Drawable>(imageView) {
//                    @Override
//                    protected void setResource(@Nullable Drawable resource) {
//                        imageView.setImageDrawable(resource);
//                    }
//                });
//
//    }
//
//    @Override
//    public void clearMemoryCache() {
//
//    }
//}